package com.yssw.client.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import com.yssw.common.annotation.Excel;
import com.yssw.common.core.domain.BaseEntity;

/**
 * 用户签到记录对象 client_user_sign_log
 *
 * @author yssw
 * @date 2023-03-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ToString
public class ClientUserSignLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    private String delFlag;

    /**
     * 乐观锁
     */
    @Excel(name = "乐观锁")
    private Integer version;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long clientUserId;

    /**
     * 签到奖励内容
     */
    @Excel(name = "签到奖励内容")
    private String signReward;

    /**
     * 签到时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签到时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signTime;

    /**
     * 签到类型1=签到2=补签
     */
    @Excel(name = "签到类型1=签到,2=补签 ")
    private Integer signType;


}
